class UrlMappings {

	static mappings = {
		"/admin/local/$action?/$id?" (controller: "local")
		"/locatario/menu/$action?/$id?" (controller: "producto")
		"/locatario/pedidos/$action?/$id?" (controller: "pedido")
		"/cliente/pedidos/$action?/$id?" (controller: "pedidoCliente")
		"/cliente/carrocompras/$action?/$id?" (controller: "carroCompras")
		"/cliente/local/$action?/$id?" (controller: "localCliente")
		"/$controller/$action?/$id?"{
			constraints {
				// apply constraints here
			}
		}
		"/"(view:"/index")
		"500"(view:'/error')
	}
}
